﻿<%@ Page Title="医疗机构月份采购计划分析医院明细" Language="C#" MasterPageFile="~/Master/MasterPage_New.master" AutoEventWireup="true" CodeBehind="HospitalPurchasePlanByHospital.aspx.cs" Inherits="HZ.Supervise.Web.Secondphase.Statistics.HospitalPurchasePlanByHospital" %> 
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <%@ register src="~/Common/AreaControls.ascx" tagname="AreaControl" tagprefix="uc3" %>
    <style type="text/css">
        .style1
        {
            height: 13px;
        }
        .style2
        {
            height: 13px;
            width: 109px;
        }
        .style3
        {
            width: 109px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="search">
        <div class="search_item">
            <table>
                <tr> 
                
                            <th>
                                医院名称：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtHospitalName" runat="server"></asp:TextBox>
                            </td>
                           
                
                       <th>
                                排序字段：
                            </th>
                            <td align="left">
                                <asp:DropDownList runat="server" ID="ddlSortFields"> 
                                    <asp:ListItem Value="HospitalName" Text="医院名称"></asp:ListItem>
                                    <asp:ListItem Value="WareCount" Text="实际采购数量"></asp:ListItem>                                
                                    <asp:ListItem Value="planCount" Text="计划采购数量"></asp:ListItem>
                                    <asp:ListItem Value="OutNumber" Text="计划与实际差额"></asp:ListItem>
                                </asp:DropDownList>
                            </td>
                            <th>
                                排序方式：
                            </th>
                            <td align="left">
                                <asp:DropDownList runat="server" ID="ddlSort">
                                    <asp:ListItem Value="DESC" Text="降序"></asp:ListItem>                                
                                    <asp:ListItem Value="ASC" Text="升序"></asp:ListItem>
                                </asp:DropDownList>
                            </td> 
                              <th>
                        <hz:HzButton ID="btnQuery" runat="server" Text="查  询" OnClick="btnQuery_Click" CssClass="btn" />
                    </th>
                </tr>
            </table>
        </div>
    </div>
    <div class="listip">
        <ul>
            <li><asp:Label ID="lblTitle" runat="server"></asp:Label>
            </li>
        </ul>
    </div>
    <div class="navDiv">&nbsp;</div>
    
    <asp:GridView ID="gvwPSLInfo" runat="server" AutoGenerateColumns="False" CssClass="mainlist" AllowSorting="True" EmptyDataText="暂无符合条件的数据！" >
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1 + AspNetPager_CompanyPS.PageSize * (AspNetPager_CompanyPS.CurrentPageIndex - 1)%></ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>  
             
            <asp:BoundField DataField="HospitalName" HeaderText="医院名称" />  
            <asp:BoundField DataField="WareCount" HeaderText="实际采购数量" ReadOnly="true" /> 
            <asp:BoundField DataField="planCount" HeaderText="计划采购数量" ReadOnly="true" />  
            <asp:BoundField DataField="OutNumber" HeaderText="计划采购与实际采购差额" ReadOnly="true" />  
            
        </Columns>
    </asp:GridView>
    <div class="page"> 
         <span style="width: 70%; text-align: right; float: right">
            <webdiyer:AspNetPager ID="AspNetPager_CompanyPS" runat="server" AlwaysShow="true"
                OnPageChanged="AspNetPager_CompanyPS_PageChanged">
            </webdiyer:AspNetPager>
        </span>
    </div>
    <br />
      <div class="listctrl">
            <hz:HzButton ID="btnExcel1" runat="server" CssClass="btn" Text="导出数据" OnClick="btnExcel_Click" />  
    
      <hz:HzButton ID="btnBack" runat="server" CssClass="btn" Text="返回" onclick="btnBack_Click" />
  </div>
    <div class="listip">
        <ul>
            <li>说明:<span>计划采购与实际采购差额=计划采购数量-实际采购数量。</span>
            </li> 
    <li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span>实际采购数量：指医疗机构的实际入库数量。</span></li>
        </ul>
    </div>
</asp:Content>
